import Layout from '@/layout'

const accountManage = {
  path: '/accountManage',
  component: Layout,
  redirect: '/accountManage/recharge',
  name: 'accountManage',
  meta: {
    title: '账户管理',
    icon: 'el-icon-s-order',
    roles: ['ORG_USER']
  },
  children: [
    {
      path: '/accountManage/accountInfo',
      component: () => import('@/views/accountManage/accountInfo/index'),
      name: 'recharge',
      meta: { title: '账户信息', roles: ['ORG_USER'] }
    },
    {
      path: '/accountManage/expend',
      component: () => import('@/views/accountManage/expend/index'),
      name: 'expend',
      meta: { title: '支出流水', roles: ['ORG_USER'] }
    },
    {
      path: '/accountManage/expendDetail',
      component: () => import('@/views/accountManage/expendDetail/index'),
      name: 'expendDetail',
      meta: { title: '支出明细', roles: ['ORG_USER'] }
    }
  ]
}
export default accountManage
